package com.alibaba.dubbo.demo.dao;

import com.alibaba.dubbo.demo.model.Book;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author:chenjinhang
 * @Description:
 * @Date: create in 15:29 2018/2/7
 **/
public class BookMapper {

    public List<Book> getAll(){
        List<Book> books = new ArrayList<Book>();
        books.add(new Book("JAVA从入门到放弃",22.0));
        books.add(new Book("设计模式",15.2));
        return books;
    }
}
